package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysSecuritySetting;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户表 数据层
 *
 * @author ruoyi
 */
@Mapper
public interface SysSecuritySettingsMapper {

    /**
     * 通过ID查询安全配置信息
     *
     * @return 安全配置信息
     */
    public SysSecuritySetting getInfo(@Param("userId") Long userId);

    public List<SysSecuritySetting> getAll();

    public Integer insertSecuritySetting(@Param("securitySetting") SysSecuritySetting securitySetting);

    public Integer updateById(@Param("securitySetting") SysSecuritySetting securitySetting);

}
